﻿using TianYuan.Data.Dapper;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain
{
    public class DemoConext : DbContextBase, IDbContext
    {
        //private readonly ICacheService cacheService;
        public DemoConext(ICacheService cacheService) 
            : base("DBConnectionString", SqlSugar.DbType.MySql, cacheService)
        {
            Debug.Print("子类构造函数");
        }
    }
}
